[t:/]$ 지식_

lua-resty-redis 의 커넥션

2025/03/18

커넥션 풀 개념이 보통 라이브러리와 사용법이 다르다.

보통 : 커넥션 셋팅에서 정함

루아 : 모두 사용후 호출하여 풀에 리턴시킨다는 개념

즉, 모두 사용한 후 호출한다.

red:set_keepalive(10000, 100)

https://github.com/openresty/lua-resty-redis?tab=readme-ov-file#set_timeouts









[t:/] is not "technology - root". dawnsea, rss